package com.zzq.consumer;

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.cloud.client.circuitbreaker.EnableCircuitBreaker;
import org.springframework.cloud.openfeign.EnableFeignClients;

//@EnableEurekaClient
@EnableCircuitBreaker
@SpringBootApplication
@EnableFeignClients(basePackages = "com.zzq.consumer.service")
public class ConsumerConfigA2Application {

    public static void main(String[] args) {
        SpringApplication.run(ConsumerConfigA2Application.class, args);
    }
//    @Bean
//    public IRule getRule(){
//        return new RandomRule();
//    }

}
